﻿#parse("partials/header.html") #parse("partials/sidebar.html")
<link rel='stylesheet' type='text/css' href='/Scripts/plugins/fullcalendar/fullcalendar.css' />
<script type='text/javascript' src='/Scripts/plugins/fullcalendar/fullcalendar.js'></script>
<script type="text/javascript">
    $(document).ready(function () {
        var oTable = $('#datalist').dataTable({
            "bSort": false,
            "sPaginationType": "full_numbers",
            "bProcessing": false,
            "bServerSide": true,
            "sAjaxSource": "/admins/actiongroup/tablelist3",
            "aoColumns": [
                            { "mDataProp": "Id" },
                            { "mDataProp": "DescValue" },
                             { "mDataProp": "Modul" },
                        ],
            "aoColumnDefs": [
                                {
                                    "fnRender": function (o) {
                                        return "<center><a class='tooltip' title='Edit Record' href='/admins/actiongroup/editactionsetting/?id=" + o.aData['Id'] + "' ><img src='/images/Icons/pencil.png'/></a> <a class='confirm button delete tooltip' title='Delete Record' confirmdelete='Are you want to delete this record?' href='/admins/actiongroup/deleteactionsetting/?id=" + o.aData['Id'] + "'><img src='/images/Icons/eraser.png'/></a></center>";
                                    },
                                    "aTargets": [0]
                                }
                        ]
        }).fnSetFilteringPressEnter();

        function checkForEnter(event) {
            if (event.keyCode == 13) {
                oTable.fnDraw();
            }
        }

        $('#gname').keypress(checkForEnter);
        $('#buttonSearch').click(function () { oTable.fnDraw(); });
    });
</script>
<div id="mws-container" class="clearfix">
    <div class="container">
        <div class="mws-panel grid_8">
            <div class="mws-panel-header">
                <span class="mws-i-24 i-table-1">$Pagetitle</span>
            </div>
            <div class="mws-panel-body">
                <div class="mws-panel-toolbar top clearfix">
                    <ul>
					    <li><a class="mws-ic-16 ic-accept" href="/admins/actiongroup/" title="Accept">Back To Action Group</a></li>
                        <li><a class="mws-ic-16 ic-accept" href="/admins/actiongroup/createactionsetting/" title="Accept">Add Action</a></li>
                        <li><a class="mws-ic-16 ic-accept" href="/admins/actiongroup/settingaction/" title="Accept">List Action</a></li>
                    </ul>
                </div>
                <table cellpadding="0" cellspacing="0" border="0" class="mws-table" id="datalist"
                    width="100%">
                    <thead>
                        <tr>
                            <th style="width: 100px; text-align: center">
                                Actions
                            </th>
                            <th style="text-align: center">
                               Section Action Group Name
                            </th>
                            <th style="text-align: center">
                                ID GRoup
                            </th>
                          
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <td colspan="4" class="dataTables_empty">
                                <img src="../../../Images/Admin/252.gif" />
                            </td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
        <hr />
    </div>
#parse("partials/footer.html")
